#include "displaywidget.h"

DisplayWidget::DisplayWidget(QWidget *parent, int number) :
    QWidget(parent),
    screenNo(number)
{
}

void DisplayWidget::endThis()
{
    //TODO
    this->close();
}

void DisplayWidget::keyPressEvent(QKeyEvent *keyEvent)
{
    //TODO
    if (keyEvent->key()==Qt::Key_Escape)
    {
        this->close();
    }
}
